package com.starlink.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城书籍规格请求模型")
public class MallBooksSpecificationRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("书籍信息ID")
    private Long mallBooksId;
    @ApiModelProperty("成本价")
    private BigDecimal costPrice;
    @ApiModelProperty("普通用户价格")
    private BigDecimal price;
    @ApiModelProperty("vip用户价格")
    private BigDecimal vipPrice;
    @ApiModelProperty("库存")
    private Long inventory;
    @ApiModelProperty("规格")
    private String specification;
    @ApiModelProperty("商品编号")
    private String commodityNum;
    @ApiModelProperty("体积cm³")
    private BigDecimal volume;
    @ApiModelProperty("重量KG")
    private BigDecimal weight;
}
